<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>WDShare管理中心-修改会员信息</title>
<meta name="auther" content="F7" />
<% include ../etc/htmlhead.ejs %>
</head>

<body>
<% include ../etc/head.ejs %>
<div class="manage">
  <% include ../etc/left.ejs %>
  <div class="manage-right">
    <h1 class="manage-title">
      <a href="/manage/member">所有会员</a>
      <a href="/manage/member/notactive">未激活会员</a>
      <a href="/manage/member/lock">被锁定会员</a>
      <a href="/manage/member/active">活跃会员</a>
      <a href="/manage/member/vip">VIP会员</a>
    </h1>
    <div class="manage-module">
      <form id="js-manageMember-editinfo-form">
        <input type="hidden" name="aid" value="<%=result._id%>" />
        <div class="manage-module-head">
          <div class="manage-module-tab">
            <a href="/manage/member/edit/<%=result.userid%>">修改帐号</a>
            <a href="/manage/member/editinfo/<%=result.userid%>" class="current">修改资料</a>
          </div>
          <div class="manage-tool">
            <input class="green" name="submitbutton_head" type="submit" value="提交"/>
            <input class="gray" type="reset" value="重置"/>
          </div>
        </div>
        <div class="manage-module-con">
          <div class="manage-addActive-form">
            <div class="manage-addActive-form-note"><em>基本信息</em></div>
            <div class="manage-addActive-form-item">
              <label><strong>我的签名：</strong><textarea name="mood" placeholder="请输入签名" style="height:50px;"><%= !result.mood ? "" : result.mood %></textarea></label>
            </div>
            <div class="manage-addActive-form-item manage-addActive-form-radio">
              <strong>性别：</strong>
              <label><input type="radio" name="sex" value="1" <%if (result.sex=='1') {%>checked="checked"<%}%> /> 男</label>
              <label><input type="radio" name="sex" value="2" <%if (result.sex=='2') {%>checked="checked"<%}%> /> 女</label>
              <label><input type="radio" name="sex" value="3" <%if (result.sex=='3') {%>checked="checked"<%}%> /> 保密</label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>真是姓名：</strong><input type="text" name="realname" value="<%=result.realname%>" /></label>
            </div>
            <div class="manage-addActive-form-item" id="js-articleadd-tag">
              <strong>TAG：</strong>
              <input type="hidden" name="tag" id="js-hidden-tag" value="<%= !result.tag ? "" : result.tag %>" />
              <div class="content-tegs">
                <div class="content-tegs-show" id="js-content-tegs-show"></div>
                <input type="text" name="newtag" id="js-newtag" placeholder="请输入新的标签" style="width:120px;" /><i id="js-add-tag">添加</i>
              </div>
              <div class="content-tegs-list">
                <div class="content-tegs-list-con" id="js-content-tegs-list"></div>
                <i id="js-content-tegs-resetList">换一批</i>
              </div>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>求职状态：</strong>
                <select name="jobstate">
                <option value="0">请选择</option>
                <option value="1" <% if (result.jobstate === 1) { %>selected<% } %>>求职中</option>
                <option value="2" <% if (result.jobstate === 2) { %>selected<% } %>>已就业</option>
                <option value="3" <% if (result.jobstate === 3) { %>selected<% } %>>学生</option>
              </select></label>
            </div>
            <div class="manage-addActive-form-item">
              <strong>公司名称：</strong>
              <label><input type="text" name="com" placeholder="请输入公司名称" class="in-text" value="<%= !result.com ? "" : result.com %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>职位名称：</strong><input type="text" name="jobs" placeholder="请输入职位名称" class="in-text" value="<%= !result.jobs ? "" : result.jobs %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>学校名称：</strong><input type="text" name="school" placeholder="请输入学校名称" class="in-text" value="<%= !result.school ? "" : result.school %>" /></label>
            </div>

            <div class="manage-addActive-form-note"><em>创收的机会</em></div>

            <div class="manage-addActive-form-item manage-addActive-form-radio">
              <strong>是否兼职：</strong>
              <label><input type="radio" name="isPartTime" value="1" <% if (result.isPartTime === true) { %>checked="checked"<% } %> /> 可以</label>
              <label><input type="radio" name="isPartTime" value="2" <% if ( !result.isPartTime || result.isPartTime === false) { %>checked="checked"<% } %> /> 暂时不考虑</label>
            </div>

            <div class="manage-addActive-form-note"><em>联系方式</em></div>

            <div class="manage-addActive-form-item">
              <label><strong>手机：</strong><input type="text" name="phone" placeholder="请输入手机" class="in-text" value="<%= !result.phone ? "" : result.phone %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>QQ号：</strong><input type="text" name="qq" placeholder="请输入QQ号" class="in-text" value="<%= !result.qq ? "" : result.qq %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>微信号：</strong><input type="text" name="wechat" placeholder="请输入微信号" class="in-text" value="<%= !result.wechat ? "" : result.wechat %>" /></label>
            </div>

            <div class="manage-addActive-form-note"><em>提升个人魅力</em></div>

            <div class="manage-addActive-form-item">
              <label><strong>个人网站：</strong><input type="text" name="www" placeholder="请输入网址" class="in-text" value="<% if (!result.www) { %>http://<% } else { %><%=result.www%><% } %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>微博地址：</strong><input type="text" name="weibo" placeholder="请输入微博地址" class="in-text" value="<% if (!result.weibo) { %>http://<% } else { %><%=result.weibo%><% } %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>Github：</strong><input type="text" name="github" placeholder="请输入Github地址" class="in-text" value="<% if (!result.github) { %>http://<% } else { %><%=result.github%><% } %>" /></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>个人介绍：</strong><textarea name="introduction" class="text-content"><%= !result.introduction ? "" : result.introduction %></textarea></label>
            </div>

            <div class="manage-addActive-form-note"><em>系统附加属性</em></div>

            <div class="manage-addActive-form-item">
              <label><strong>被点赞：</strong><input type="text" name="zan" placeholder="请输入微信号" class="in-text" value="<%= !result.zan ? 0 : result.zan %>" /><span>文章、项目被点赞的综合</span></label>
            </div>
            <div class="manage-addActive-form-item">
              <label><strong>橄榄枝：</strong><input type="text" name="offer" placeholder="请输入微信号" class="in-text" value="<%= !result.offer ? 0 : result.offer %>" /><span>收到的面试邀请</span></label>
            </div>
            
            <div class="manage-addActive-form-item manage-form-but">
              <input class="green" name="submitbutton" type="submit" value="提交"/>
              <input class="gray" type="reset" value="重置"/>
            </div>
          </div>
        </div>
      </form>
    </div>
    
  </div>
</div>

<% include ../etc/foot.ejs %>
</body>
</html>